package cn.mumzone.pos.presenter.contract;

import cn.mumzone.basic.mvp.BasePresenter;
import cn.mumzone.basic.mvp.BaseView;
import cn.mumzone.pos.model.ReserveOrderEntity;

/**
 * Created by qiuzhenhuan on 2019/7/1.
 */

public interface ReserveDetailContract {

    interface View extends BaseView{

        void showCancelHoldSuccess();

        void showCancelAllHoldSuccess();

        void showReserveDetail(ReserveOrderEntity orderEntity);

    }

    interface Presenter extends BasePresenter<View>{

        void doCancelHold(String appointmentId, String subAppointmentId);

        void doCancelAllHold(String appointmentId);

        void loadReserveDetail(String reserveId);
    }
}
